﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hbse.Entities
{
    public class NameplateCore : EntityBindable
    {
        private Orders order;
        private Product product;
        private IList<NameplateCorePrint> nameplateCorePrints;
        private string lotNo;
        private string quantity;
        private string inspectBy;
        private DateTime? inspecDate;
        private string weight;
        private string printNum;

        private Users user;
        private DateTime? printDate;
        private string status;



        public virtual Orders Orders
        {
            get { return order; }
            set
            {
                if (!Equals(order, value))
                {
                    order = value;
                    NotifyPropertyChanged("Order");
                }
            }
        }

        public virtual Product Product
        {
            get { return product; }
            set
            {
                if (!Equals(product, value))
                {
                    product = value;
                    NotifyPropertyChanged("Product");
                }
            }
        }
        public virtual IList<NameplateCorePrint> NameplateCorePrints
        {
            get { return nameplateCorePrints; }
            set
            {
                if (!Equals(nameplateCorePrints, value))
                {
                    nameplateCorePrints = value;
                    NotifyPropertyChanged("NameplateCorePrints");
                }
            }
        }

        public virtual string LotNo
        {
            get { return lotNo; }
            set
            {
                if (lotNo != value)
                {
                    lotNo = value;
                    NotifyPropertyChanged("LotNo");
                }
            }
        }
        public virtual string Quantity
        {
            get { return quantity; }
            set
            {
                if (quantity != value)
                {
                    quantity = value;
                    NotifyPropertyChanged("Quantity");
                }
            }
        }
        public virtual string InspectBy
        {
            get { return inspectBy; }
            set
            {
                if (inspectBy != value)
                {
                    inspectBy = value;
                    NotifyPropertyChanged("InspectBy");
                }
            }
        }
        public virtual DateTime? InspecDate
        {
            get { return inspecDate; }
            set
            {
                if (inspecDate != value)
                {
                    inspecDate = value;
                    NotifyPropertyChanged("InspecDate");
                }
            }
        }

        public virtual string Weight
        {
            get { return weight; }
            set
            {
                if (weight != value)
                {
                    weight = value;
                    NotifyPropertyChanged("Weight");
                }
            }
        }

        public virtual string PrintNum
        {
            get { return printNum; }
            set
            {
                if (printNum != value)
                {
                    printNum = value;
                    NotifyPropertyChanged("PrintNum");
                }
            }
        }


        public virtual Users Users
        {
            get { return user; }
            set
            {
                if (!Equals(user, value))
                {
                    user = value;
                    NotifyPropertyChanged("User");
                }
            }
        }
        public virtual DateTime? PrintDate
        {
            get { return printDate; }
            set
            {
                if (printDate != value)
                {
                    printDate = value;
                    NotifyPropertyChanged("PrintDate");
                }
            }
        }
        public virtual string Status
        {
            get { return status; }
            set
            {
                if (status != value)
                {
                    status = value;
                    NotifyPropertyChanged("Status");
                }
            }
        }

    }
}
